//
//  ViewOrderModel.m
//  Manager
//
//  Created by 彭凯敏 on 15/8/20.
//  Copyright (c) 2015年 52xiaoluo. All rights reserved.
//

#import "ViewOrderModel.h"

@implementation ViewOrderModel

+(ViewOrderModel *)fromOrderVew:(ViewOrder *)order {
    ViewOrderModel *model = [[ViewOrderModel alloc] init];
    model.order = order;
    model.statusStr = [NSString stringWithFormat:@"%d",order.status];
    model.createTimeStamp = [NSString stringWithFormat:@"%llu",order.createTime];
    model.updateTimeStamp = [NSString stringWithFormat:@"%llu",order.updateTime];
    return model;
}
@end
